package com.example.cc.server.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author wsy
 * @since 2025-01-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cc_tenants")
@ApiModel(value="租户信息", description="")
public class Tenants implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "租户唯一标识")
    @TableId(value = "tenant_id", type = IdType.AUTO)
    private Long tenantId;

    @ApiModelProperty(value = "租户名称")
    private String name;

    @ApiModelProperty(value = "联系邮箱")
    private String email;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdAt;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updatedAt;

}
